package com.chuan.base.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class CronDateUtils {
	 /***
    *
    * @param date 时间
    * @return  cron类型的日期
    */
	private static final String CRON_DATE_FORMAT = "ss mm HH dd MM ? yyyy";
   public static String getCron(final Date  date){
       SimpleDateFormat sdf = new SimpleDateFormat(CRON_DATE_FORMAT);
       String formatTimeStr = "";
       if (date != null) {
           formatTimeStr = sdf.format(date);
       }
       return formatTimeStr;
   }
   
}
